package com.example.hello.client.TextBox;

import com.vaadin.shared.AbstractComponentState;

public class BootstrapTextBoxState extends AbstractComponentState {

    private String alignment = "LEFT";
    private boolean blockLevel = false;
    private int maxLength = 10;
    private String placeholder;
    private int size = 2;
    private String text;
    private int visibleLength = 10;

    public String getAlignment() {
        return alignment;
    }

    public void setAlignment(String alignment) {
        this.alignment = alignment;
    }

    public boolean isBlockLevel() {
        return blockLevel;
    }

    public void setBlockLevel(boolean blockLevel) {
        this.blockLevel = blockLevel;
    }

    public int getMaxLength() {
        return maxLength;
    }

    public void setMaxLength(int maxLength) {
        this.maxLength = maxLength;
    }

    public String getPlaceholder() {
        return placeholder;
    }

    public void setPlaceholder(String placeholder) {
        this.placeholder = placeholder;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public int getVisibleLength() {
        return visibleLength;
    }

    public void setVisibleLength(int visibleLength) {
        this.visibleLength = visibleLength;
    }
}